package com.example.adms.attendance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.adms.attendance.dto.*;
import com.example.adms.attendance.entity.Attendance;
import com.example.adms.vo.Result;

public interface AttendanceService extends IService<Attendance> {
    Result onHandle(OnParams onParams);

    Result offHandle(OffParams offParams);

    Result getAttendanceForOne(OneAttQueryParams oneAttQueryParams);

    Result getAttendanceForAll(AllAttQueryParams allAttQueryParams);

    Result getTotalAttendance(Integer month);

    Result getMostLate(Integer month);

    Result getMostEarly(Integer month);
}
